#ifndef CONNECTIONMANAGER_H
#define CONNECTIONMANAGER_H

#include <QObject>
#include "connectionthread.h"

class ConnectionManager : public QObject
{
    Q_OBJECT
public:
    explicit ConnectionManager(QObject *parent = 0);
    bool addConnection(int sockDescriptor);
private:
    ConnectionThread *createThread(int sockDecriptor);

private slots:
    void closeThread();

signals:

public slots:

};

#endif // CONNECTIONMANAGER_H
